org.eclipse.vtp.desktop.projects.core.wizards
Class CreateGrammarWizard

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by org.eclipse.vtp.desktop.projects.core.wizards.CreateGrammarWizard
All Implemented Interfaces:
org.eclipse.jface.wizard.IWizard

public class CreateGrammarWizard
extends org.eclipse.jface.wizard.Wizard

This wizard walks the user through the steps required to create a new grammar file for an application. The user is prompted to enter a name for the new file. This name must be unique among the current files in the folder. The file is automatically created by this wizard and so requires no actions from the caller of the wizard.

Author:
Trip

Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
CreateGrammarWizard(IMediaContainer mediaContainer)
          Creates a new CreateDatabaseWizard instance in the given database set.
 
Method Summary
 MediaFile getGrammar()
           
 boolean performFinish()
           
 
Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, addPages, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateGrammarWizard

public CreateGrammarWizard(IMediaContainer mediaContainer)
Creates a new CreateDatabaseWizard instance in the given database set.

Parameters:
mediaContainer - The database set that will contain the new database descriptor
Method Detail

getGrammar

public MediaFile getGrammar()

performFinish

public boolean performFinish()
Specified by:
performFinish in interface org.eclipse.jface.wizard.IWizard
Specified by:
performFinish in class org.eclipse.jface.wizard.Wizard